import React from 'react';
import { connect } from 'react-redux';
import { changePage } from '../../store/actions';
import SpecialistProduct from '../admin/specialist-product'

class _MyProduct extends React.Component{
  constructor(props){
    super(props);
  }
  render(){
    return (
      <SpecialistProduct FromType={'specialist'} />
    )
  }
}
export default _MyProduct = connect((state)=>{
  const {user} = state.rootReducer;
  return {user}
})(_MyProduct)